package com.example.demo.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author : tx
 * @date : Created in 2024-04-11 20:09
 * @description :
 */
@RestController
public class HelloController {

    @RequestMapping("/hello")
    public String hello(){
        return new String("hello,world!");
    }


    @RequestMapping("/test2")
    public String test2(){
        return "test2";
    }

    @RequestMapping("/test3")
    public String test3(){
        return "test2";
    }

    @RequestMapping("/test4")
    public String test4(){
        return "test2";
    }

}
